package com.gitee.fantaros.web.fan.netcut.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AppInfo {

    public static AppInfo of(String name, String imageUrl, String url) {
        AppInfo appInfo = new AppInfo();
        appInfo.name = name;
        appInfo.imageUrl = imageUrl;
        appInfo.url = url;
        return appInfo;
    }

    private String name;
    private String imageUrl;
    private String url;
}
